package cn.iocoder.an.module.business.dal.dataobject.reportview;

import lombok.*;
import java.util.*;
import java.time.LocalDateTime;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.*;
import cn.iocoder.an.framework.mybatis.core.dataobject.BaseDO;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.idev.excel.annotation.*;

/**
 * 报表汇总 DO
 *
 * @author zzy
 */
@TableName("business_report_view")
@KeySequence("business_report_view_seq") // 用于 Oracle、PostgreSQL、Kingbase、DB2、H2 数据库的主键自增。如果是 MySQL 等数据库，可不写。
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "管理后台 - 报表汇总 Response VO")
@ExcelIgnoreUnannotated
public class ReportViewDO extends BaseDO {
    public static final Long PARENT_ID_ROOT = 0L;
    /**
     * id
     */
    @TableId
    @Schema(description = "id", requiredMode = Schema.RequiredMode.REQUIRED, example = "9438")
    @ExcelProperty("id")
    private Long id;
    /**
     * 名称
     */
    @Schema(description = "名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "赵六")
    @ExcelProperty("名称")
    private String name;
    /**
     * 副标题
     */
    @Schema(description = "副标题", requiredMode = Schema.RequiredMode.REQUIRED, example = "副标题")
    @ExcelProperty("副标题")
    private String title;
    /**
     * 图标
     */
    @Schema(description = "icon", requiredMode = Schema.RequiredMode.REQUIRED, example = "User")
    @ExcelProperty("图标")
    private String icon;
    /**
     * 图标
     */
    @Schema(description = "icon", requiredMode = Schema.RequiredMode.REQUIRED, example = "#FFF")
    @ExcelProperty("背景颜色")
    private String color;
    /**
     * 链接
     */
    @Schema(description = "链接", example = "https://www.iocoder.cn")
    @ExcelProperty("链接")
    private String url;
    /**
     * 父id
     */
    @Schema(description = "父id", requiredMode = Schema.RequiredMode.REQUIRED, example = "28937")
    @ExcelProperty("父id")
    private Long parentId;
    /**
     * 显示顺序
     */
    @Schema(description = "显示顺序", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("显示顺序")
    private Integer sort;


}